Skip to content

fix(avro): preserve the event ID on deserialization - #805

Open
noxlys wants to merge 1 commit into
cloudevents:mainfrom
noxlys:fix/697-avro-compact-event-id
Open

noxlys wants to merge 1 commit into
cloudevents:mainfrom
noxlys:fix/697-avro-compact-event-id

Conversation

@noxlys

@noxlys noxlys commented Dec 6, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #697.

Read the event ID from the Avro record’s id field. The compact round-trip test now uses distinct ID and type values so it catches this regression.

Validation: the Maven reactor passed for API, Core, and Avro Compact with -Dtest=AvroCompactFormatTest. The round-trip test passed on JDK 21. git diff --check also passed.

Fixes cloudevents#697.

Signed-off-by: Junjie Yang <3202137046@qq.com>
@noxlys
noxlys marked this pull request as ready for review December 6, 2026 09:38

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avro compact deserializer bug - ID set to type

1 participant